package com.lims;

import com.lims.base.mapper.BasePackageClass;
import com.lims.feign.FeignInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync
@SpringBootApplication
@MapperScan(value = "com.lims.base.mapper.*", basePackageClasses = BasePackageClass.class)
@EnableFeignClients(basePackages = {"com.lims.**"}, defaultConfiguration = {FeignInterceptor.class})
public class LimsTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(LimsTestApplication.class, args);
    }
}
